package com.tjc.cloud.util.mongo.query

import java.util.*

object UUIDGenerator {

    /**
    * @Description: 获取符合富友规则的30位UUID
    * @Param:
    * @return: string
    * @Author: Mr.Huang
    * @Date: 2019/2/25 0025
    */
    fun UUIDValue(): String {
        return UUID.randomUUID().toString().replace("-","").substring(0,30)
    }
}